package com.tmeone.erpone.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tmeone.erpone.entity.TCargoArea;
import com.tmeone.erpone.mapper.TCargoAreaMapper;
import com.tmeone.erpone.service.ITCargoAreaService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author wzy
 * @since 2021-04-19
 */
@Service
public class TCargoAreaServiceImpl extends ServiceImpl<TCargoAreaMapper, TCargoArea> implements ITCargoAreaService {

    @Autowired
    private TCargoAreaMapper cargoAreaMapper;

    @Override
    public IPage<TCargoArea> findPageCaregoAreas(IPage<TCargoArea> page, String wareId, String caregoAreaId) {
        return cargoAreaMapper.selectPageCaregoAreas(page, wareId, caregoAreaId);
    }
}
